<%@ page import="auctionhaus.Bid"%>




<div
	class="fieldcontain ${hasErrors(bean: bidInstance, field: 'bidder', 'error')} required">
	<label for="bidder"> <g:message code="bid.bidder.label"
			default="Bidder" /> <!-- span class="required-indicator">*</span-->
		<span> </span>
	</label>
	${sec.loggedInUserInfo(field:'username')}
	<!-- g:select id="bidder" name="bidder.id" from="${auctionhaus.Customer.list()}" optionKey="id" required="" value="${sec.loggedInUserInfo(field:'id')}" class="many-to-one"/-->
</div>

<div
	class="fieldcontain ${hasErrors(bean: bidInstance, field: 'amount', 'error')} required">
	<label for="amount"> <g:message code="bid.amount.label"
			default="Amount" /> <span class="required-indicator">*</span>
	</label>
	<g:field type="number" step=".01" name="amount" required=""
		value="${fieldValue(bean: bidInstance, field: 'amount')}" />
</div>


<g:hiddenField id="listing" name="listing.id"
	value="${bidInstance?.listing?.id}" />

